//
//  ChooseRedPacketVC.m
//  RPay
//
//  Created by hzy on 2017/10/29.
//  Copyright © 2017年 Charlie. All rights reserved.
//

#import "ChooseRedPacketVC.h"
#import "FriendVC.h"

@interface ChooseRedPacketVC ()
@property (weak, nonatomic) IBOutlet UIButton *singleBtn;
@property (weak, nonatomic) IBOutlet UIButton *groupBtn;

@end

@implementation ChooseRedPacketVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"发红包";
    [self addNavigationBarLeftButtonItem];

}

- (IBAction)singleBtnClick:(UIButton *)sender {
    FriendVC * vc = [[FriendVC alloc] initWithNibName:@"FriendVC" bundle:[NSBundle mainBundle]];
    vc.type = SingleRedPacket;
    [self.navigationController pushViewController:vc animated:YES];
}
- (IBAction)groupBtnClick:(UIButton *)sender {
    FriendVC * vc = [[FriendVC alloc] initWithNibName:@"FriendVC" bundle:[NSBundle mainBundle]];
    vc.type = GroupRedPacket;
    [self.navigationController pushViewController:vc animated:YES];
}

@end
